package controllers.Account;

import java.util.HashMap;
import java.util.Map;

import javax.servlet.http.HttpSession;

//存放已经登录的所有session拿来解决webSocket发送请求时总是生成新session问题在客户端发送浏览器当前的sessionID参数到webSocket Server再通过此map拿到此时的session就行了
public class LoginSessionMap {
	public static Map<String, HttpSession> SESSIONID_SESSION = new HashMap<String, HttpSession>();
	// 登陆者对应一个session
	public static Map<Long, HttpSession> LOGIN_SESSION = new HashMap<Long, HttpSession>();
}
